home *** CD-ROM | disk | FTP | other *** search
- Path: news.cis.ohio-state.edu!usenet
- From: gormley@polka.cis.ohio-state.edu
- Newsgroups: comp.lang.c++
- Subject: No $watch variable set.
- Date: 16 Apr 1996 16:43:49 GMT
- Organization: The Ohio State University, CIS Department
- Message-ID: <4l0io5$e3k@news.cis.ohio-state.edu>
- NNTP-Posting-Host: polka.cis.ohio-state.edu
-
- Perhaps someone knows what is going on with my program. I don't have
- any problems compiling the program. But when I run the program, the
- only output I get is "No $watch variable set." Does anyone know what
- this means?
-
- #include <iostream.h>
-
- #define PRECISION 40
-
- int
- main (void)
- {
- cout.precision (PRECISION);
-
- long double error, x_value;
-
- error = 0.0000000000009094947017729265213537093015783114240786L;
- x_value = .5000;
-
- cout << error;
-
- return 0;
- }
-
- I used g++ to compile the program, with the following line;
- 'g++ -olog -log.cpp'
-
- Thanks in advance for any help.
-
- - christopher gormley :-)
-